import Vue from "vue";
import Router from "vue-router";
import index from "@/pages/index";
import Login from "@/pages/Login/Login";
import WorkbenchMyUnit from '@/pages/Login/WorkbenchMyUnit'
import WorkbenchAddOrLookCom from '@/pages/Login/WorkbenchAddOrLookCom'
import BlankPage from "@/pages/Login/BlankPage";
import WorkbenchBusinessSystemApp from '@/pages/Login/WorkbenchBusinessSystemApp'
// import QrcodeBindAccount from "@/pages/Login/QrcodeBindAccount";
import Redirect from "@/pages/Login/Redirect";
import RegulatoryPlatformLogin from "@/pages/Login/RegulatoryPlatformLogin";
import LeftNav from "@/components/Nav/LeftNav";
import TopNav from "@/components/Nav/TopNav";
// import home from "@/components/container/home";
import Systeam from "@/components/container/systeam";


import ActiveTabs from "@/components/ActiveTabs/ActiveTabs";
import User from "@/pages/User/User";
// import BdPosition from '@/pages/ConfigCenter/EquipmentManage/BdPosition'
// import SensorList from '@/pages/ConfigCenter/EquipmentManage/SensorList'


// import Reader from '@/pages/ConfigCenter/EquipmentManage/Reader'
// import UseRecord from '@/pages/ConfigCenter/EquipmentManage/UseRecord'
// import RFID from '@/pages/ConfigCenter/EquipmentManage/RFID'
// import BindRecord from '@/pages/ConfigCenter/EquipmentManage/BindRecord'


import memberQrCode from "@/pages/ProjectCenter/ComponentList/memberQrCode";
import QuestionnaireSurveyMobile from "@/pages/ProjectCenter/BackEvaluateCopy/QuestionnaireSurveyMobile";
import QuestionsList from "@/pages/ProjectCenter/BackEvaluateCopy/QuestionsList";
import elecSandTable from "@/pages/workCenter/decideAnalysis/elecSandTable/elecSandTable";

// 异常情况页面

import Building from "@/pages/Error/Building";
import Errors from "@/pages/Error/Errors";
import { MicroInteconsRoute } from "./Intecons";
import { MicroStoreRoute } from "./Store";
import { MicroBalanceRoute } from "./Balance";
import { MicroAssRoute } from "./Ass";
import { MicroHammerRoute } from "./Hammer";
import { MicroEvaRoute } from "./Eva"; //智慧工地评价系统
import { MicroScoreRoute } from "./Score"; //劳务积分系统

import { MicroLaborRoute } from "./Labor"; //建工劳务平台

//  配置中心-平台设备管理

export const EquipmentManage = [{
  path: "/sensorList",
  name: "传感器列表",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/EquipmentManage/SensorList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/beidouPosition",
  name: "北斗定位",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/EquipmentManage/BdPosition"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/reader",
  name: "读写器",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/EquipmentManage/Reader"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/rfid",
  name: "RFID芯片",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/EquipmentManage/RFID"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/useRecord",
  name: "使用记录",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/EquipmentManage/UseRecord"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/bindRecord",
  name: "绑定记录",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/EquipmentManage/BindRecord"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/customTable",
  name: "自定义表单",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CustomTable/CustomTable"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/customTableDetail",
  name: "自定义表单详情",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CustomTable/CustomTableDetail"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
}
];

// 配置中心-系统设置
export const SystemSetting = [{
  path: "/logManagement",
  name: "日志管理",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/SystemSetting/logManagement"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/menuManagement",
  name: "菜单管理",
  components: {
    default: () =>
      import(
        "@/pages/ConfigCenter/SystemSetting/MenuManagement/menuManagement"
      ),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/noteCfg",
  name: "短信配置",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/SystemSetting/NoteSetting/noteCfg"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }

},
{
  path: "/ProjectNote",
  name: "项目短信",
  components: {

    default: () =>

      import("@/pages/ConfigCenter/SystemSetting/NoteSetting/projectNote"),

    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }

},

{

  path: "/NoteModelCfg",

  name: "短信配置方式",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/SystemSetting/NoteSetting/noteModelCfg"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

// {

//   path: "/pageComMaintain",

//   name: "页面模块维护",

//   components: {

//     default: () =>

//       import(

//         "@/pages/ConfigCenter/SystemSetting/PageComponent/PageComMaintain"

//       ),

//     top: TopNav,

//     aside: LeftNav,

//     activeTabs: ActiveTabs

//   }

// },

// {

//   path: "/pageComCustom",

//   name: "页面模块定制",

//   components: {

//     default: () =>

//       import(

//         "@/pages/ConfigCenter/SystemSetting/PageComponent/PageComCustom"

//       ),

//     top: TopNav,

//     aside: LeftNav,

//     activeTabs: ActiveTabs

//   }

// },

// {

//   path: "/PageUnitCustom",

//   name: "单位页面模块定制",

//   components: {

//     default: () =>

//       import(

//         "@/pages/ConfigCenter/SystemSetting/PageComponent/PageUnitCustom"

//       ),

//     top: TopNav,

//     aside: LeftNav,

//     activeTabs: ActiveTabs

//   }

// },

// {

//   path: "/PageComPriview",

//   name: "页面预览",

//   components: {

//     default: () =>

//       import(

//         "@/pages/ConfigCenter/SystemSetting/PageComponent/PageComPriview"

//       ),

//     top: TopNav,

//     aside: LeftNav,

//     activeTabs: ActiveTabs

//   }

// },

{

  path: "/moduleList",

  name: "权限项管理",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/SystemSetting/ModuleList/moduleList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/checkItemConfig",

  name: "检查项可配置-检查体系",

  components: {

    default: () =>

      import(

        "@/pages/ConfigCenter/SystemSetting/CheckItemConfig/checkItemConfig"

      ),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/configure",

  name: "检查项可配置-检查项",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/SystemSetting/CheckItemConfig/configure"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/addCheck",

  name: "检查项可配置-检查值",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/SystemSetting/CheckItemConfig/addCheck"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/versionManagementApp",

  name: "app版本管理",

  components: {

    default: () =>

      import(

        "@/pages/ConfigCenter/SystemSetting/VersionManagement/versionManagementApp"

      ),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/versionManagementWeb",

  name: "web版本管理",

  components: {

    default: () =>

      import(

        "@/pages/ConfigCenter/SystemSetting/VersionManagement/versionManagementWeb"

      ),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/dynamicInforList",

  name: "资讯列表",

  components: {

    default: () =>

      import(

        "@/pages/ConfigCenter/SystemSetting/DynamicFunctionManagement/DynamicInforList"

      ),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/addModifyDynamics",

  name: "修改资讯动态",

  components: {

    default: () =>

      import(

        "@/pages/ConfigCenter/SystemSetting/DynamicFunctionManagement/AddModifyDynamics"

      ),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

}

];



// 配置中心-单位设置
export const CompanySetting = [{
  path: "/companyInfo",
  name: "单位信息",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/CompanyInfo"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/companyList",
  name: "单位库管理",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/CompanyList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{

  path: "/permissionTemplate",

  name: "权限模板",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/CompanySetting/PermissionTemplate"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},
//PageDataAuth
{
  path: "/pageDataAuth",
  name: "页面数据授权",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/PageDataAuth"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},

{
  path: "/accountList",
  name: "账号列表",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/AccountList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/accountReview",
  name: "账号审核",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/AccountReview"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},

{
  path: "/organizationFramework",
  name: "组织架构及岗位权限",
  components: {
    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/OrganizationFramework"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/userManage",

  name: "员工管理",

  components: {

    default: () =>
      import("@/pages/ConfigCenter/CompanySetting/userManage"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/personnelAudit",

  name: "人员审核",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/CompanySetting/PersonnelAudit"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/AuditInformation",

  name: "审核信息",

  components: {

    default: () =>

      import("@/pages/ConfigCenter/CompanySetting/AuditInformation"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/orgManage",

  name: "组织管理",

  components: {

    default: () =>
      import("@/pages/ConfigCenter/OrgStrucManage/OrgManage"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

}

];



// 项目中心

export const ProjectCenter = [{
  path: '/deepDesignConfirm',
  name: "深化设计确认",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/DeepDesignConfirm/DeepDesignConfirm"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
}, {
  path: '/draweManagement',
  name: "图纸管理",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/DraweManagement/DraweManagement"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
}, {
  path: '/addOrEditDrawePaper',
  name: "新增或编辑图纸",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/DraweManagement/AddOrEditDrawePaper"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/screenList",
  name: "监控台",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ScreenList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
  {
    path: "/screenListA",
    name: "监控台（跳转）",
    components: {
      default: () =>
        import("@/pages/ProjectCenter/ScreenList"),
      top: TopNav,
    }
  },
{

  path: '/monitorConsoleInsTemp',
  name: "智慧工地大屏列表",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/MonitorConsoInsTemp"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/test",
  name: "测试111",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/Test"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/ZHGDConstructSituation",
  name: "智慧工地建情况",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ZHGDConstructSituation/ZHGDConstructSituation"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: '/screenDataMaintain',
  name: "大屏数据维护",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ZHGDConstructSituation/ScreenDataMaintain"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/ProjectList",
  name: "项目列表",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ProjectList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/ProjectListHTM",
  name: "哈图模",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ProjectListHTM"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},

{

  path: "/ProjectGantt",

  name: "上传甘特图",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ProjectGantt"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/ProjectGanttDetail",

  name: "甘特图详情",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ProjectGanttDetail"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/gantt",

  name: "甘特图",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/Gantt"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/ganttzs",

  name: "甘特图-舟山项目",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/GanttZS"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},
{
  path: '/operaProject',
  name: '新增/编辑/详情项目',
  components: {
    default: () =>
      import("@/pages/ProjectCenter/OperaProject"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }

},
{
  path: "/editProjectStep",
  name: "编辑项目",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/components/EditProjectStep"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/modelList",
  name: "模型管理列表",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ModelManagement/modelList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/projectDesignAndDecompose",
  name: "项目设计与分解",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ProjectDesignAndDecompose/ProjectDesignAndDecompose"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/projectDecom",
  name: "项目分解",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ProjectDecom/projectDecom"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/componList",
  name: "构件列表-1",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/ComponentList/componList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/componentDetails",

  name: "构件详情",

  components: {

    default: () =>

      import("@/pages/ProjectCenter/ComponentList/componentDetails"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/reportList",

  name: "报告列表",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ComponentList/reportList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/reportInfo",

  name: "报告详情",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ComponentList/reportInfo"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/yardList",

  name: "工厂堆场",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/factoryYard/yardList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/projectYardList",

  name: "项目堆场",

  components: {

    default: () =>

      import("@/pages/ProjectCenter/projectYard/projectYardList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/modelLightList",

  name: "模型轻量化",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/modelLight/modelLightList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/memberManage",

  name: "构件管理",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/memberManage/memberManage"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/monitorPublic",

  name: "环境检测",

  components: {

    default: () =>

      import("@/pages/ProjectCenter/monitorPublic/monitorPublic"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/servicegroup",

  name: "劳务班组",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/monitorPublic/serviceGroup"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/memberInfo",

  name: "构件信息",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/components/memberInfo"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/memberDetail",

  name: "构件同步详情",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/memberDetail"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/memberList",

  name: "构件列表-2",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/memberList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/memberManageDetail",

  name: "构件列表-详情",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/memberManageDetail"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/projectDetail",

  name: "项目详情",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/projectDetail"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/editMember",

  name: "编辑构件-2",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/editMember"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/ModifyInfo",

  name: "我的信息-2",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ComponentList/modifyInfo"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/EditReport",

  name: "编辑报告",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ComponentList/editReport"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/Edit",

  name: "编辑构件",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ComponentList/edit"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/doComponList",

  name: "构件操作列表",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ComponentList/doComponList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/ProjectModel",

  name: "项目模型",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/modelLight/projectModel"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/ShowModel",

  name: "展示模型",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/modelLight/showModel"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/behaviorMonitor",

  name: "行为检测",

  components: {

    default: () =>

      import("@/pages/ProjectCenter/monitorPublic/behaviorMonitor"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/climbMonitor",

  name: "爬架检测",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/monitorPublic/climbMonitor"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/envMonitor",

  name: "环境检测-2",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/monitorPublic/envMonitor"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/constructionSection",

  name: "施工段划分",

  components: {

    default: () =>

      import("@/pages/ProjectCenter/monitorPublic/constructionSection"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/projectFile",

  name: "项目文档库",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ProjectFile"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/constructProjectList",

  name: "施工项目列表",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/ConstructProjectList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "interfaceList",

  name: "接口列表",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/interfaceList/interfaceList"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},
{

  path: "/ProjectMap",

  name: "项目地图",

  components: {

    default: () =>
      import("@/pages/Home/components/ProjectMap"),
  }

},

{

  path: "/EditInterface",

  name: "接口列表详情",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/components/EditInterface"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{
  path: "/informSet",
  name: "通知设置",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/informSet"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/PeopleWarehouse",
  name: "人员库",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/PeopleWarehouse"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{

  path: "/AddpeopleHouse",

  name: "人员库新增",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/AddpeopleHouse"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},

{

  path: "/TestbaseManagement",

  name: "题库管理",

  components: {

    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/TestbaseManagement"),

    top: TopNav,

    aside: LeftNav,

    activeTabs: ActiveTabs

  }

},
{
  path: '/dataAuthPage',
  ame: "数据授权",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/DataAuthPage"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/ActivityManagement",
  name: "活动管理",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/ActivityManagement"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/AddEvaluatePeople",
  name: "新增评价人员",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/AddEvaluatePeople"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/EvaluateDetail",
  name: "被评价人员详情",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/EvaluateDetail"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/checkQuestionList1",
  name: "查看问卷详情",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/CheckQuestList1"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: '/checkCommonQuestionList',
  name: "问卷详情查看",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/BackEvaluateCopy/CheckCommonQuestionList"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/NewsNotice",
  name: "新闻公告",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/MessageCenter/NewsNotice"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/AlarmRecord",
  name: "预警报警纪录",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/MessageCenter/AlarmRecord"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/NoticeWait",
  name: "通知待办",
  components: {
    default: () =>
      import("@/pages/ProjectCenter/MessageCenter/NoticeWait"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
];



// 工作中心

export const WorkCenter = [

  {

    path: "/trainMonitor",

    name: "车次监控",

    components: {

      default: () =>
        import("@/pages/workCenter/postBusiness/trainMonitor"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/carList",

    name: "车辆管理",

    components: {

      default: () =>

        import("@/pages/workCenter/projectManage/produceManage/carList"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/trainDetail",

    name: "车次监控-详情",

    components: {

      default: () =>
        import("@/pages/workCenter/postBusiness/trainDetail"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/countList",

    name: "统计列表",

    components: {

      default: () =>
        import("@/pages/workCenter/decideAnalysis/countList"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkForm",

    name: "工业化报表",

    components: {

      default: () =>
        import("@/pages/workCenter/decideAnalysis/checkForm"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {
    path: "/editForm",
    name: "工业化报表-填报",
    components: {
      default: () =>
        import("@/pages/workCenter/decideAnalysis/checkForm"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/designManage",
    name: "工业化设计管理",
    components: {
      default: () =>
        import("@/pages/workCenter/cockpit/designManage"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/productManage",
    name: "工业化生产管理",
    components: {
      default: () =>
        import("@/pages/workCenter/cockpit/productManage"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/construcManagement",
    name: "工业化施工管理",
    components: {
      default: () =>
        import("@/pages/workCenter/cockpit/construcManagement"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/relativeOrg",
    name: "关联组织",
    components: {
      default: () =>
        import("@/pages/workCenter/cockpit/relativeOrg"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/culManagePartyBuild",
    name: "党建文化管理",
    components: {
      default: () =>
        import("@/pages/workCenter/CulManagePartyBuild/CulManagePartyBuild"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/companyNews",
    name: "企业新闻",
    components: {
      default: () =>
        import("@/pages/workCenter/CulManagePartyBuild/CompanyNews"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/newsScheme",
    name: "新闻方案",
    components: {
      default: () =>
        import("@/pages/workCenter/CulManagePartyBuild/NewsScheme"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/onepointNews",
    name: "一点通新闻",
    components: {
      default: () =>
        import("@/pages/workCenter/CulManagePartyBuild/OnePointNews"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/onepointNewsScheme",
    name: "一点通新闻方案",
    components: {
      default: () =>
        import("@/pages/workCenter/CulManagePartyBuild/OnePointNewsScheme"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/modelManage',
    name: '模型管理',
    components: {
      default: () =>
        import('@/pages/workCenter/modelManage/modelManage'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/modelLook',
    name: '模型查看',
    components: {
      default: () =>
        import('@/pages/workCenter/modelManage/modelLook'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/imageProgressList',
    name: '形象进度列表',
    components: {
      default: () =>
        import('@/pages/workCenter/ImageProgress/ImageProgressList'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/imageProgressNode',
    name: '形象进度节点配置',
    components: {
      default: () =>
        import('@/pages/workCenter/ImageProgress/ConfigTemplateNode'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/constructionLift',
    name: '施工升降机',
    components: {
      default: () =>
        import('@/pages/workCenter/Construction/constructionLift'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/realTimeDataPage',
    name: '施工升降机-实时数据',
    components: {
      default: () =>
        import('@/pages/workCenter/Construction/RealTimeDataPage'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
];

//工作台

export const WorkBench = [
  {
    path: "/myCompany",
    name: "我的单位",
    components: {

      default: () =>
        import("@/pages/WorkBench/MyCompanyManage/MyCompany"),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/addOrLookCom',
    name: '创建或查看单位',
    components: {

      default: () =>
        import('@/pages/WorkBench/MyCompanyManage/AddOrLookCom'),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  }, {
    path: '/businessSystemApp',
    name: '业务系统申请',
    components: {

      default: () =>
        import('@/pages/WorkBench/MyCompanyManage/BusinessSystemApp'),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: '/constructionLift',
    name: '施工升降机',
    components: {
      default: () =>
        import('@/pages/workCenter/Construction/constructionLift'),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
];

// 资源中心
export const ResourceCenter = [
  {
    path: "/productList",
    name: "产品列表",
    components: {
      default: () =>
        import("@/pages/ResourceManage/PurchaseMarket/ProductList"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/confirmOrder",
    name: "确认订单",
    components: {
      default: () =>
        import("@/pages/ResourceManage/PurchaseMarket/ConfirmOrder"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/payOrder",
    name: "支付订单",
    components: {

      default: () =>
        import("@/pages/ResourceManage/PurchaseMarket/PayOrder"),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/paySuccess",
    name: "支付成功",
    components: {

      default: () =>
        import("@/pages/ResourceManage/PurchaseMarket/PaySuccess"),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/componentPurchase",

    name: "部件采购",

    components: {

      default: () =>

        import("@/pages/ResourceManage/PurchaseMarket/componentPurchase"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/SellerMarket",

    name: "卖方市场",

    components: {

      default: () =>

        import("@/pages/ResourceManage/PurchaseMarket/SellerMarket"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/releaseSeller",

    name: "发布招标",

    components: {

      default: () =>

        import("@/pages/ResourceManage/PurchaseMarket/releaseSeller"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }
  }, {
    path: "/applicationMarketManage",
    name: "应用市场",
    components: {
      default: () =>
        import("@/pages/ResourceManage/ApplicationMarketManage/ApplicationMarketManage"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/QrcodeList",
    name: "二维码列表",
    components: {
      default: () =>
        import("@/pages/ResourceManage/QrcodeList"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  }
];



// 个人中心

export const PersonalCenter = [

  {

    path: "/loginMode",

    name: "登录方式",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/loginMode"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/myInfomation",

    name: "我的信息",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/myInformation"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/orderList",

    name: "我的订单",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/OrderList/orderList"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/orderDetail",

    name: "订单详情-未支付",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/OrderList/orderDetail"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }
  },
  {
    path: "/orderOneDetail",
    name: "订单详情-已支付",
    components: {

      default: () =>
        import("@/pages/PersonalCenter/OrderList/orderOneDetail"),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/invoiceManage",
    name: "发票管理",
    components: {

      default: () =>
        import("@/pages/PersonalCenter/InvoiceManage"),

      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/auditRecords",

    name: "审核记录",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/AuditRecords"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/modifyInformation",

    name: "编辑我的信息",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/modifyInformation"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/pay",

    name: "支付",

    components: {

      default: () =>
        import("@/pages/PersonalCenter/OrderList/pay"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }
  }, {
    path: '/myApplication',
    name: "我的应用",
    components: {
      default: () =>
        import("@/pages/PersonalCenter/MyApplication"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  }, {
    path: '/myapply',
    name: "我的申请",
    components: {
      default: () =>
        import("@/pages/PersonalCenter/Myapply"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/MyLimit",
    name: "我的权限",
    components: {
      default: () =>
        import("@/pages/PersonalCenter/MyLimit"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  }
];

// 通用检查

export const CommonCheck = [

  {

    path: "/checkItemManage",

    name: "检查项管理",

    components: {

      default: () =>
        import("@/pages/ConfigCenter/CommonCheck/CheckItemManage"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },



  {

    path: "/configCheckItem",

    name: "检查项内容配置",

    components: {

      default: () =>
        import("@/pages/ConfigCenter/CommonCheck/ConfigCheckItem"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkFormList",

    name: "表单配置列表页",

    meta: {

      version: "1.2.2"

    },

    components: {

      default: () =>
        import("@/pages/ConfigCenter/CommonCheck/CheckItemManage"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/configCheckForm",

    name: "检查项表单配置详情页",

    components: {

      default: () =>
        import("@/pages/ConfigCenter/CommonCheck/ConfigFormItem"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkModuleManage",

    name: "检查模块管理",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/CheckModuleManage"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/configCheckModule",

    name: "检查模块配置",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/ConfigCheckModule"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkTemplateManage",

    name: "检查模板管理",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/CheckTemplateManage"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/configCheckTpl",

    name: "检查模板配置",

    components: {

      default: () =>
        import("@/pages/ConfigCenter/CommonCheck/ConfigCheckTpl"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkResultNo",

    name: "检查项查看",

    components: {

      default: () =>
        import("@/pages/ConfigCenter/CommonCheck/checkResultNo"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkResultDetail",

    name: "检查项详情",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/checkResultDetail")

      // top: TopNav,

      // aside: LeftNav,

      // activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkBusinessConfig",

    name: "检查项业务配置",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/CheckBusinessConfig"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/checkBusinessConfigDetail",

    name: "检查项业务配置详情",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/CheckBusinessConfigDetail"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/reportFormManage",

    name: "报表配置管理",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/ReportFormManage"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/reportFormDetail",

    name: "报表配置详情",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/ReportFormDetail"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/monitorBusinessConfig",

    name: "监控台业务配置",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/CommonCheck/MonitorBusinessConfig"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },

  {

    path: "/thirdPartyList",

    name: "第三方应用列表",

    components: {

      default: () =>

        import("@/pages/ConfigCenter/ThirdParty/ThirdPartyList"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  },
  {

    path: "/embagedPage",

    name: "第三方网页嵌入",

    components: {

      default: () =>

        import("@/pages/Login/EmbagedPage"),

      top: TopNav,

      aside: LeftNav,

      activeTabs: ActiveTabs

    }

  }
];

// 机器人巡检平台
export const RobotPlat = [
  {
    path: "/robotManagement",
    name: "巡检机器人管理",
    components: {
      default: () => import("@/pages/Robot/robotManagement/robotManagement"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/robotDetails",
    name: "机器人详情",
    components: {
      default: () => import("@/pages/Robot/robotManagement/details"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/cameraManagement",
    name: "摄像管理",
    components: {
      default: () => import("@/pages/Robot/robotManagement/cameraManagement"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/tempManage",
    name: "温湿度管理",
    components: {
      default: () => import("@/pages/Robot/robotManagement/TempManage"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/patrolinspectionResults",
    name: "巡检任务结果",
    components: {
      default: () => import("@/pages/Robot/PatrolinspectionResults/patrolinspectionResults"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/detailsOfPatrolTaskResults",
    name: "巡检任务结果详情",
    components: {
      default: () => import("@/pages/Robot/PatrolinspectionResults/detailsOfPatrolTaskResults"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/patrolInspectionReportManagement",
    name: "巡检报告管理",
    components: {
      default: () => import("@/pages/Robot/PatrolinspectionResults/patrolInspectionReportManagement"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/identificationResults",
    name: "AI识别结果",
    components: {
      default: () => import("@/pages/Robot/PatrolinspectionResults/identificationResults"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/abnormalAlarm",
    name: "异常情况报警",
    components: {
      default: () => import("@/pages/Robot/AbnormalAlarm/abnormalAlarm"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/PatrolSceneManagement",
    name: "巡检场景管理",
    components: {
      default: () => import("@/pages/Robot/PatrolSceneManagement/index.vue"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/PatrolSceneDetails",
    name: "巡检场景详情",
    components: {
      default: () => import("@/pages/Robot/PatrolSceneManagement/details.vue"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/PatrolInspectionTaskManagement",
    name: "巡检任务管理",
    components: {
      default: () => import("@/pages/Robot/PatrolInspectionTaskManagement/index.vue"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/PatrolInspectionTaskManagementDetails",
    name: "巡检任务管理详情",
    components: {
      default: () => import("@/pages/Robot/PatrolInspectionTaskManagement/details.vue"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/PatrolInspectionTaskManagementAdd",
    name: "新增巡检任务",
    components: {
      default: () => import("@/pages/Robot/PatrolInspectionTaskManagement/addTask"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
  {
    path: "/ScenarioTaskManagementAdd",
    name: "巡检场景新增巡检任务",
    components: {
      default: () => import("@/pages/Robot/PatrolSceneManagement/EditTask"),
      top: TopNav,
      aside: LeftNav,
      activeTabs: ActiveTabs
    }
  },
]
const HomePage = [
  {
    path: "/homepage",
    name: "首页",
    components: {
      default: () => import("@/pages/Home/Home"),
      top: TopNav,
      // aside: LeftNav,
      // activeTabs: ActiveTabs
    }
  }

]

// 与浙里建对接跳转页
const ZLJRedirect = [{
  path: "/redirectProjectCenter",
  name: "浙里建-项目中心",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectProjectCenter"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectWorkCenter",
  name: "浙里建-工作中心",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectWorkCenter"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectPersonalCenter",
  name: "浙里建-个人中心",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectPersonalCenter"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectResourceCenter",
  name: "浙里建-资源中心",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectResourceCenter"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectConfigCenter",
  name: "浙里建-配置中心",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectConfigCenter"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectproductBusinessRecod",
  name: "浙里建-生产企业信息备案",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectProductBusinessRecod"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectproductBaseRecord",
  name: "浙里建-生产基地信息备案",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectProductBaseRecord"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectprojectFilDatabaseSjx",
  name: "浙里建-管理项目备案",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectProjectFileDatabaseSjx"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectorderInfoSjx",
  name: "浙里建-管理订单信息",
  components: {
    default: () =>
      import("@/pages/RedirectPage/RedirectorderInfoSjx"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/redirectcomponentListSjx",
  name: "浙里建-管理构件信息",
  components: {
    default: () => import("@/pages/RedirectPage/RedirectcomponentListSjx"),
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
]

// 大宗材料
const DZmaterial = [{
  path: "/maindataOrganization",
  name: "主数据池组织架构",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataOrganization"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataOrganizationDetails",
  name: "主数据池组织架构详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataOrganizationDetails"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataDepartment",
  name: "主数据池部门",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataDepartment"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataDepartmentDetails",
  name: "主数据池部门详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataDepartmentDetails"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataPeopleNumber",
  name: "主数据池人员账号",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataPeopleNumber"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataMaterialCategory",
  name: "主数据池材料类别",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataMaterialCategory"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataMaterialTable",
  name: "主数据池物料表",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataMaterialTable"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/maindataVendor",
  name: "主数据池供应商",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MaindataVendor"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/procuremContractInformation",
  name: "采购合同信息",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/ProcuremContractInformation"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/contractInformationDetail",
  name: "采购合同信息详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/ContractInformationDetail"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/targetCostMeasure",
  name: "目标成本测算",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/TargetCostMeasure"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/targetCostMeasureDetails",
  name: "目标成本测算详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/TargetCostMeasureDetails"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/monthlyMaterialVariation",
  name: "项目月度材料需求计划",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MonthlyMaterialVariation"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/monthlyMaterialVariationDetails",
  name: "项目月度材料需求计划详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MonthlyMaterialVariationDetails"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/invoices",
  name: "结算单",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/Invoices"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/invoicesDetails",
  name: "结算单详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/InvoicesDetails"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/marketInquire",
  name: "市场价格查询",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/MarketInquire"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/receipt",
  name: "入库单",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/Receipt"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
{
  path: "/receiptDetails",
  name: "入库单详情",
  components: {
    default: () =>
      import("@/pages/ResourceManage/BulkManage/ReceiptDetails"),
    top: TopNav,
    aside: LeftNav,
    activeTabs: ActiveTabs
  }
},
]

Vue.use(Router);

//重复点击菜单控制台报红处理；

// const originalPush = Router.prototype.push

// Router.prototype.push = function push (location) {

//   return originalPush.call(this, location).catch(err => err)

// }

export default new Router({

  mode: "history",

  routes: [

    {

      path: "/login",

      name: "login",

      component: Login

    },

    {

      path: '/blankPage',

      name: 'BlankPage',

      component: BlankPage

    },

    {

      path: '/workbenchMyUnit',

      name: 'WorkbenchMyUnit', //工作台-我的单位

      component: WorkbenchMyUnit

    },

    {

      path: '/workbenchAddOrLookCom',

      name: 'WorkbenchAddOrLookCom', //工作台-我的单位-创建/查看单位

      component: WorkbenchAddOrLookCom

    },

    {

      path: '/workbenchBusinessSystemApp',

      name: 'WorkbenchBusinessSystemApp', //工作台-我的单位-业务系统申请

      component: WorkbenchBusinessSystemApp

    },

    // {

    //   path: '/qrcodeBindAccount',

    //   name: "qrcodeBindAccount",

    //   component: QrcodeBindAccount

    // },

    {

      path: "/redirect",

      name: "reditect",

      component: Redirect

    },

    // {

    //   path: '/homepage',

    //   name: '首页',

    //   components: {

    //     default: () => import("@/pages/Home/Home"),

    //     top: TopNav

    //   }

    // },

    // {

    //   path: "/gantt",

    //   name: "甘特图",

    //   component: () => import("@/pages/ProjectCenter/Gantt")

    // },

    {

      path: "/regulatoryPlatformLogin",

      name: "regulatoryPlatformLogin", //监管平台登录页

      component: RegulatoryPlatformLogin

    },

    {

      path: "/loading",

      name: "loading",

      components: {

        default: () =>
          import("@/pages/Error/Loading.vue")

      }

    },

    {

      path: "/elecSandTable",

      name: "电子沙盘",

      component: elecSandTable

    },

    {

      path: "/memberQrCode",

      name: "构件扫码",

      component: memberQrCode

    },
    {

      path: "/QuestionnaireSurveyMobile",

      name: "问卷调查验证",

      component: QuestionnaireSurveyMobile

    },

    {

      path: "/QuestionsList",

      name: "问卷调查列表",

      component: QuestionsList

    },
    {

      path: "/",

      name: "默认页",

      component: index,

      redirect: "/login",

      children: [
        ...HomePage,
        ...PersonalCenter,
        ...ResourceCenter,
        ...WorkCenter,
        ...ProjectCenter,
        ...CompanySetting,
        ...SystemSetting,
        ...EquipmentManage,
        ...MicroBalanceRoute,
        ...MicroHammerRoute,
        ...MicroAssRoute,
        ...MicroInteconsRoute,
        ...MicroStoreRoute,
        ...CommonCheck,
        ...WorkBench,
        ...MicroEvaRoute,
        ...MicroScoreRoute, //劳务积分系统
        ...MicroLaborRoute, //建工劳务平台
        ...ZLJRedirect,
        ...DZmaterial,
        ...RobotPlat, // 机器人巡检平台
        // {

        // //   path: "/home",

        // //   name: "首页",

        // //   components: {

        // //     default: home,

        // //     top: TopNav

        // //   }

        // // },

        // 基坑监测假页面

        {

          path: "/design",

          name: "系统1",

          components: {

            default: () =>
              import("@/pages/Home/Demo.vue"),

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },

        // 见证取样假页面

        {

          path: "/sample",

          name: "系统2",

          components: {

            default: () =>
              import("@/pages/Home/Sample.vue"),

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },

        // 材料进场验收假页面

        {

          path: "/materialCheck",

          name: "系统3",

          components: {

            default: () =>
              import("@/pages/Home/MaterialCheck.vue"),

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },

        // 起重机械设备假页面

        {

          path: "/liftEquip",

          name: "系统4",

          components: {

            default: () =>
              import("@/pages/Home/LiftEquip.vue"),

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },

        {

          path: "/systeam",

          name: "系统5",

          components: {

            default: Systeam,

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },



        {

          path: "/user",

          name: "user",

          components: {

            default: User,

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },


        {
          path: "/blank",
          name: "空白页",
          components: {


          }

        },
        {

          path: "/building",

          name: "功能开发中",

          components: {

            default: Building,

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },

        {

          path: "/error",

          name: "功能错误",

          components: {

            default: Errors,

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        },



        {

          path: "*",

          components: {

            default: Building,

            top: TopNav,

            aside: LeftNav,

            activeTabs: ActiveTabs

          }

        }

      ]

    }

  ]

});
